{include file="public_iframe:head"}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>提现列表</h5>
                    <div class="ibox-tools" style="margin-top: -9px;">
                        <a href="javascript:location.reload();" class="btn btn-primary"><i class="fa fa-refresh"></i> 刷新</a>
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-3">

                        </div>
                        <form class="form-inline" action="" method="get">
                            <div class="col-sm-10 pull-right">
                                <div class="input-group pull-right select_width">
                                    <span class="input-group-btn" >
                                      <button type="submit" class="btn btn-sm btn-primary">     搜索
                                      </button>
                                    </span>
                                </div>
                                <div class="input-group col-sm-2 pull-right select_width" >
                                    <select name="status" class="form-control input-sm select_no_border"">
                                        <option value="">审核状态</option>
                                        <option value="0" {if condition="$withdraw_status eq 'pending_review'"}selected = "selected"{/if}>待审核</option>
                                        <option value="1" {if condition="$withdraw_status eq 1"}selected = "selected"{/if}>通过审核</option>
                                        <option value="-1" {if condition="$withdraw_status eq -1"}selected = "selected"{/if}>拒绝通过</option>
                                    </select>
                                </div>
                            </div>
                        </form>
                    </div>

                    <br />

                    <div class="table-responsive">
                        <form action="__URL__/operate" method="post" id="operate_form">
                            <table class="table table-bordered table-hover"
                                   id="categoryTable">
                                <thead>
                                <tr class="active">
                                    <th height="40">编号</th>
                                    <th>提现人</th>
                                    <th>电话</th>
                                    <th>提现金额(已扣取手续费)</th>
                                    <th>手续费</th>
                                    <th>状态</th>
                                    <th>创建时间</th>
                                    <th width="200">操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                {volist name="list" id="vo"}
                                <tr>
                                    <td>{$vo.id}</td>
                                    <td>{$vo.nickname}</td>
                                    <td>{$vo.mobile}</td>
                                    <td>{$vo.money}</td>
                                    <td>{$vo.poundage}</td>
                                    <td>
                                        {$vo.status_name}
                                    </td>
                                    <td>
                                        {$vo.create_time}
                                    </td>
                                    <td class="center" width="200">
                                    {if condition="$vo.status eq '0'"}
                                        <a href="{:url('withdraw/detail',array('id'=>$vo['id']))}" class="btn btn-primary">审核提现</a>
                                    {/if}
                                    </td>
                                </tr>
                                {/volist}

                                </tbody>
                            </table>
                        </form>
                        <div class="col-sm-12" style="padding:0px;">
                            <ul class="pagination  pull-right">
                                {$page}
                            </ul>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
</body>

</html>